package wodegua.d31_java高级.d4_proxy;

public class BigStar implements Star {
    String name;

    public BigStar(String name) {
        this.name = name;
    }

    @Override
    public String sing(String name) {
        System.out.println(this.name + "正在唱歌：" + name);
        return "谢谢！谢谢！";
    }

    @Override
    public void dance(String name) {
        System.out.println(this.name + "正在跳舞：" + name);
    }
}
